﻿<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<meta charset="UTF-8">
<title>超市库存管理系统</title>
<link rel="stylesheet" href="css/public.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
	<!--头部-->
	<header class="publicHeader">
		<h1>超市账单管理系统</h1>

		<div class="publicHeaderR">
			<p>
				<span>下午好！</span><span style="color: #fff21b"> ${name}</span> , 欢迎你！
			</p>
			<a href="login.html">退出</a>
		</div>
	</header>
	<!--时间-->
	<section class="publicTime">
		<span id="time">2015年1月1日 11:11 星期一</span> <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
	</section>
	<!--主体内容-->
	<section class="publicMian ">
		<div class="left">
			<h2 class="leftH2">
				<span class="span1"></span>功能列表 <span></span>
			</h2>
			<nav>
				<ul class="list">
					   <li><a href="goodsHomePage">商品信息管理</a></li>
			<li><a href="providerHomePage">供应商管理</a></li>
			<li><a href="userList.html">用户管理</a></li>
			<li  id="active"><a href="inStockHomePage">商品入库</a></li>
			<li><a href="outStockHomePage">商品出库</a></li>
				</ul>
			</nav>
		</div>
		<div class="right">
			<div class="location">
				<strong>你现在所在的位置是:</strong> <span>商品出库管理页面 >> 出库添加页面</span>
			</div>
			<div class="providerAdd">
				<form action="addOutStock" method="post">
					<!--div的class 为error是验证错误，ok是验证成功-->
					<div class="">
						<label for="billId">出库编码：</label> <input type="text" name="code"
							id="billId" required /> <span>*请输入出库编码</span>
					</div>
					<div>
						<label>商品名称:：</label> <select name="goodsid">
							<c:forEach var="item" items="${requestScope.goodsList}"
								varStatus="status">
								<option value="${item.id}">${item.name}</option>
								</c:forEach>
						</select> <span>*请选择商品</span>
					</div>
					<div>
						<label for="billNum">商品数量：</label> <input type="text" name="num"
							id="billNum" required /> <span>*请输入大于0的正整数</span>
					</div>
					<div>
						<label for="money">描述： </label><textarea rows="10" cols="50" name="summary" required></textarea><span>*请输入描述</span>
					</div>
					<div class="providerAddBtn">
						<!--<a href="#">保存</a>-->
						<!--<a href="billList.html">返回</a>-->
						<input type="submit" value="保存" /> <input type="button"
							value="返回" onclick="history.back(-1)" />
					</div>
				</form>
			</div>

		</div>
	</section>
	<footer class="footer"> </footer>
	<script src="js/time.js"></script>

</body>
</html>